package com.example.springbootdemo.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;

/**
 *@author xuwangqi
 *@date 2021/5/24 9:28
 **/
@ApiModel(value="com-example-springbootdemo-entity-ProductEvaluation")
@TableName(value = "product_evaluation")
public class ProductEvaluation {
    /**
     * 评价记录id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="评价记录id")
    private Integer id;

    /**
     * 订单id
     */
    @TableField(value = "order_id")
    @ApiModelProperty(value="订单id")
    private Integer orderId;

    /**
     * 订单编号
     */
    @TableField(value = "order_no")
    @ApiModelProperty(value="订单编号")
    private String orderNo;

    /**
     * 订单项id
     */
    @TableField(value = "order_product_id")
    @ApiModelProperty(value="订单项id")
    private Integer orderProductId;

    /**
     * 商品id
     */
    @TableField(value = "product_id")
    @ApiModelProperty(value="商品id")
    private Integer productId;

    /**
     * 商品sku的id
     */
    @TableField(value = "sku_id")
    @ApiModelProperty(value="商品sku的id")
    private Integer skuId;

    /**
     * 商品名称
     */
    @TableField(value = "sku_name")
    @ApiModelProperty(value="商品名称")
    private String skuName;

    /**
     * 商品价格
     */
    @TableField(value = "sku_price")
    @ApiModelProperty(value="商品价格")
    private BigDecimal skuPrice;

    /**
     * 商品图片
     */
    @TableField(value = "sku_image")
    @ApiModelProperty(value="商品图片")
    private String skuImage;

    /**
     * 评价内容
     */
    @TableField(value = "content")
    @ApiModelProperty(value="评价内容")
    private String content;

    /**
     * 评价图片
     */
    @TableField(value = "images")
    @ApiModelProperty(value="评价图片")
    private String images;

    /**
     * 解释内容
     */
    @TableField(value = "explain_first")
    @ApiModelProperty(value="解释内容")
    private String explainFirst;

    /**
     * 评价人id
     */
    @TableField(value = "member_id")
    @ApiModelProperty(value="评价人id")
    private Long memberId;

    /**
     * 评价人名称
     */
    @TableField(value = "member_name")
    @ApiModelProperty(value="评价人名称")
    private String memberName;

    /**
     * 评价人头像
     */
    @TableField(value = "member_avatar")
    @ApiModelProperty(value="评价人头像")
    private String memberAvatar;

    /**
     * 是否匿名评价，0--不匿名，1--匿名
     */
    @TableField(value = "is_anonymous")
    @ApiModelProperty(value="是否匿名评价，0--不匿名，1--匿名")
    private Boolean isAnonymous;

    /**
     * 评价打分，1-5分
     */
    @TableField(value = "scores")
    @ApiModelProperty(value="评价打分，1-5分")
    private BigDecimal scores;

    /**
     * 追加评价内容
     */
    @TableField(value = "again_content")
    @ApiModelProperty(value="追加评价内容")
    private String againContent;

    /**
     * 追加评价图片
     */
    @TableField(value = "again_images")
    @ApiModelProperty(value="追加评价图片")
    private String againImages;

    /**
     * 追加解释内容
     */
    @TableField(value = "again_explain")
    @ApiModelProperty(value="追加解释内容")
    private String againExplain;

    /**
     * 评价类型，1--好评，2--中评，3--差评
     */
    @TableField(value = "explain_type")
    @ApiModelProperty(value="评价类型，1--好评，2--中评，3--差评")
    private Integer explainType;

    /**
     * 是否展示，0--隐藏，1--展示
     */
    @TableField(value = "is_show")
    @ApiModelProperty(value="是否展示，0--隐藏，1--展示")
    private Integer isShow;

    /**
     * 评价时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="评价时间")
    private Date createTime;

    /**
     * 追加评价时间
     */
    @TableField(value = "again_time")
    @ApiModelProperty(value="追加评价时间")
    private Date againTime;

    /**
     * 描述分值
     */
    @TableField(value = "shop_desc_credit")
    @ApiModelProperty(value="描述分值")
    private BigDecimal shopDescCredit;

    /**
     * 服务分值
     */
    @TableField(value = "shop_service_credit")
    @ApiModelProperty(value="服务分值")
    private BigDecimal shopServiceCredit;

    /**
     * 配送分值
     */
    @TableField(value = "shop_delivery_credit")
    @ApiModelProperty(value="配送分值")
    private BigDecimal shopDeliveryCredit;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    @ApiModelProperty(value="创建时间")
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    @ApiModelProperty(value="修改时间")
    private Date gmtModified;

    /**
     * 删除时间
     */
    @TableField(value = "gmt_delete")
    @ApiModelProperty(value="删除时间")
    private Date gmtDelete;

    /**
     * 逻辑删除，0--未删除，1--已删除
     */
    @TableField(value = "is_delete")
    @ApiModelProperty(value="逻辑删除，0--未删除，1--已删除")
    private Byte isDelete;

    public static final String COL_ID = "id";

    public static final String COL_ORDER_ID = "order_id";

    public static final String COL_ORDER_NO = "order_no";

    public static final String COL_ORDER_PRODUCT_ID = "order_product_id";

    public static final String COL_PRODUCT_ID = "product_id";

    public static final String COL_SKU_ID = "sku_id";

    public static final String COL_SKU_NAME = "sku_name";

    public static final String COL_SKU_PRICE = "sku_price";

    public static final String COL_SKU_IMAGE = "sku_image";

    public static final String COL_CONTENT = "content";

    public static final String COL_IMAGES = "images";

    public static final String COL_EXPLAIN_FIRST = "explain_first";

    public static final String COL_MEMBER_ID = "member_id";

    public static final String COL_MEMBER_NAME = "member_name";

    public static final String COL_MEMBER_AVATAR = "member_avatar";

    public static final String COL_IS_ANONYMOUS = "is_anonymous";

    public static final String COL_SCORES = "scores";

    public static final String COL_AGAIN_CONTENT = "again_content";

    public static final String COL_AGAIN_IMAGES = "again_images";

    public static final String COL_AGAIN_EXPLAIN = "again_explain";

    public static final String COL_EXPLAIN_TYPE = "explain_type";

    public static final String COL_IS_SHOW = "is_show";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_AGAIN_TIME = "again_time";

    public static final String COL_SHOP_DESC_CREDIT = "shop_desc_credit";

    public static final String COL_SHOP_SERVICE_CREDIT = "shop_service_credit";

    public static final String COL_SHOP_DELIVERY_CREDIT = "shop_delivery_credit";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";

    public static final String COL_GMT_DELETE = "gmt_delete";

    public static final String COL_IS_DELETE = "is_delete";

    /**
     * 获取评价记录id
     *
     * @return id - 评价记录id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置评价记录id
     *
     * @param id 评价记录id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取订单id
     *
     * @return order_id - 订单id
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 设置订单id
     *
     * @param orderId 订单id
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取订单编号
     *
     * @return order_no - 订单编号
     */
    public String getOrderNo() {
        return orderNo;
    }

    /**
     * 设置订单编号
     *
     * @param orderNo 订单编号
     */
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    /**
     * 获取订单项id
     *
     * @return order_product_id - 订单项id
     */
    public Integer getOrderProductId() {
        return orderProductId;
    }

    /**
     * 设置订单项id
     *
     * @param orderProductId 订单项id
     */
    public void setOrderProductId(Integer orderProductId) {
        this.orderProductId = orderProductId;
    }

    /**
     * 获取商品id
     *
     * @return product_id - 商品id
     */
    public Integer getProductId() {
        return productId;
    }

    /**
     * 设置商品id
     *
     * @param productId 商品id
     */
    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    /**
     * 获取商品sku的id
     *
     * @return sku_id - 商品sku的id
     */
    public Integer getSkuId() {
        return skuId;
    }

    /**
     * 设置商品sku的id
     *
     * @param skuId 商品sku的id
     */
    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    /**
     * 获取商品名称
     *
     * @return sku_name - 商品名称
     */
    public String getSkuName() {
        return skuName;
    }

    /**
     * 设置商品名称
     *
     * @param skuName 商品名称
     */
    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    /**
     * 获取商品价格
     *
     * @return sku_price - 商品价格
     */
    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

    /**
     * 设置商品价格
     *
     * @param skuPrice 商品价格
     */
    public void setSkuPrice(BigDecimal skuPrice) {
        this.skuPrice = skuPrice;
    }

    /**
     * 获取商品图片
     *
     * @return sku_image - 商品图片
     */
    public String getSkuImage() {
        return skuImage;
    }

    /**
     * 设置商品图片
     *
     * @param skuImage 商品图片
     */
    public void setSkuImage(String skuImage) {
        this.skuImage = skuImage;
    }

    /**
     * 获取评价内容
     *
     * @return content - 评价内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置评价内容
     *
     * @param content 评价内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取评价图片
     *
     * @return images - 评价图片
     */
    public String getImages() {
        return images;
    }

    /**
     * 设置评价图片
     *
     * @param images 评价图片
     */
    public void setImages(String images) {
        this.images = images;
    }

    /**
     * 获取解释内容
     *
     * @return explain_first - 解释内容
     */
    public String getExplainFirst() {
        return explainFirst;
    }

    /**
     * 设置解释内容
     *
     * @param explainFirst 解释内容
     */
    public void setExplainFirst(String explainFirst) {
        this.explainFirst = explainFirst;
    }

    /**
     * 获取评价人id
     *
     * @return member_id - 评价人id
     */
    public Long getMemberId() {
        return memberId;
    }

    /**
     * 设置评价人id
     *
     * @param memberId 评价人id
     */
    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    /**
     * 获取评价人名称
     *
     * @return member_name - 评价人名称
     */
    public String getMemberName() {
        return memberName;
    }

    /**
     * 设置评价人名称
     *
     * @param memberName 评价人名称
     */
    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    /**
     * 获取评价人头像
     *
     * @return member_avatar - 评价人头像
     */
    public String getMemberAvatar() {
        return memberAvatar;
    }

    /**
     * 设置评价人头像
     *
     * @param memberAvatar 评价人头像
     */
    public void setMemberAvatar(String memberAvatar) {
        this.memberAvatar = memberAvatar;
    }

    /**
     * 获取是否匿名评价，0--不匿名，1--匿名
     *
     * @return is_anonymous - 是否匿名评价，0--不匿名，1--匿名
     */
    public Boolean getIsAnonymous() {
        return isAnonymous;
    }

    /**
     * 设置是否匿名评价，0--不匿名，1--匿名
     *
     * @param isAnonymous 是否匿名评价，0--不匿名，1--匿名
     */
    public void setIsAnonymous(Boolean isAnonymous) {
        this.isAnonymous = isAnonymous;
    }

    /**
     * 获取评价打分，1-5分
     *
     * @return scores - 评价打分，1-5分
     */
    public BigDecimal getScores() {
        return scores;
    }

    /**
     * 设置评价打分，1-5分
     *
     * @param scores 评价打分，1-5分
     */
    public void setScores(BigDecimal scores) {
        this.scores = scores;
    }

    /**
     * 获取追加评价内容
     *
     * @return again_content - 追加评价内容
     */
    public String getAgainContent() {
        return againContent;
    }

    /**
     * 设置追加评价内容
     *
     * @param againContent 追加评价内容
     */
    public void setAgainContent(String againContent) {
        this.againContent = againContent;
    }

    /**
     * 获取追加评价图片
     *
     * @return again_images - 追加评价图片
     */
    public String getAgainImages() {
        return againImages;
    }

    /**
     * 设置追加评价图片
     *
     * @param againImages 追加评价图片
     */
    public void setAgainImages(String againImages) {
        this.againImages = againImages;
    }

    /**
     * 获取追加解释内容
     *
     * @return again_explain - 追加解释内容
     */
    public String getAgainExplain() {
        return againExplain;
    }

    /**
     * 设置追加解释内容
     *
     * @param againExplain 追加解释内容
     */
    public void setAgainExplain(String againExplain) {
        this.againExplain = againExplain;
    }

    /**
     * 获取评价类型，1--好评，2--中评，3--差评
     *
     * @return explain_type - 评价类型，1--好评，2--中评，3--差评
     */
    public Integer getExplainType() {
        return explainType;
    }

    /**
     * 设置评价类型，1--好评，2--中评，3--差评
     *
     * @param explainType 评价类型，1--好评，2--中评，3--差评
     */
    public void setExplainType(Integer explainType) {
        this.explainType = explainType;
    }

    /**
     * 获取是否展示，0--隐藏，1--展示
     *
     * @return is_show - 是否展示，0--隐藏，1--展示
     */
    public Integer getIsShow() {
        return isShow;
    }

    /**
     * 设置是否展示，0--隐藏，1--展示
     *
     * @param isShow 是否展示，0--隐藏，1--展示
     */
    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }

    /**
     * 获取评价时间
     *
     * @return create_time - 评价时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置评价时间
     *
     * @param createTime 评价时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取追加评价时间
     *
     * @return again_time - 追加评价时间
     */
    public Date getAgainTime() {
        return againTime;
    }

    /**
     * 设置追加评价时间
     *
     * @param againTime 追加评价时间
     */
    public void setAgainTime(Date againTime) {
        this.againTime = againTime;
    }

    /**
     * 获取描述分值
     *
     * @return shop_desc_credit - 描述分值
     */
    public BigDecimal getShopDescCredit() {
        return shopDescCredit;
    }

    /**
     * 设置描述分值
     *
     * @param shopDescCredit 描述分值
     */
    public void setShopDescCredit(BigDecimal shopDescCredit) {
        this.shopDescCredit = shopDescCredit;
    }

    /**
     * 获取服务分值
     *
     * @return shop_service_credit - 服务分值
     */
    public BigDecimal getShopServiceCredit() {
        return shopServiceCredit;
    }

    /**
     * 设置服务分值
     *
     * @param shopServiceCredit 服务分值
     */
    public void setShopServiceCredit(BigDecimal shopServiceCredit) {
        this.shopServiceCredit = shopServiceCredit;
    }

    /**
     * 获取配送分值
     *
     * @return shop_delivery_credit - 配送分值
     */
    public BigDecimal getShopDeliveryCredit() {
        return shopDeliveryCredit;
    }

    /**
     * 设置配送分值
     *
     * @param shopDeliveryCredit 配送分值
     */
    public void setShopDeliveryCredit(BigDecimal shopDeliveryCredit) {
        this.shopDeliveryCredit = shopDeliveryCredit;
    }

    /**
     * 获取创建时间
     *
     * @return gmt_create - 创建时间
     */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 设置创建时间
     *
     * @param gmtCreate 创建时间
     */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 获取修改时间
     *
     * @return gmt_modified - 修改时间
     */
    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * 设置修改时间
     *
     * @param gmtModified 修改时间
     */
    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * 获取删除时间
     *
     * @return gmt_delete - 删除时间
     */
    public Date getGmtDelete() {
        return gmtDelete;
    }

    /**
     * 设置删除时间
     *
     * @param gmtDelete 删除时间
     */
    public void setGmtDelete(Date gmtDelete) {
        this.gmtDelete = gmtDelete;
    }

    /**
     * 获取逻辑删除，0--未删除，1--已删除
     *
     * @return is_delete - 逻辑删除，0--未删除，1--已删除
     */
    public Byte getIsDelete() {
        return isDelete;
    }

    /**
     * 设置逻辑删除，0--未删除，1--已删除
     *
     * @param isDelete 逻辑删除，0--未删除，1--已删除
     */
    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }
}